package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.DepartmentStructure;

public interface DepartmentStructureMapper {

	public int deleteDepartmentStructureById(long id);

	public DepartmentStructure selectDepartmentStructureById(long id);

	public List<DepartmentStructure> selectDepartmentStructureByMap(Map<String,Object> map);

	public List<DepartmentStructure> selectDepartmentStructure(DepartmentStructure departmentStructure);

	public List<DepartmentStructure> selectAllDepartmentStructure();

	public int insertDepartmentStructure(DepartmentStructure departmentStructure);

	public int updateDepartmentStructure(DepartmentStructure departmentStructure);

	public int deleteDepartmentStructure(DepartmentStructure departmentStructure);

	public int updateDepartmentStructureByMap(Map<String,Object> map);

	public int deleteDepartmentStructureByMap(Map<String,Object> map);
	public int getAllDepartmentStructureCounts();
	public int getDepartmentStructureCounts(DepartmentStructure departmentStructure);
	public int getDepartmentStructureCountsByMap(Map<String,Object> map);
}
